package com.baoleme.service;

import com.baoleme.common.Result;
import com.baoleme.entity.Orders;
import com.baoleme.entity.dto.OrderConditionalSearchDto;
import com.baoleme.entity.dto.OrderStatusDto;
import com.baoleme.entity.vo.OrderDetailVo;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @since 2024-09-13
 */
public interface OrdersService extends IService<Orders> {
    IPage<Orders> conditionSearch( OrderConditionalSearchDto OrderConditionalSearchDto);
    HashMap<String, Long> statistics();
    OrderDetailVo details(String id);
    Boolean modifyOrdersStatus(OrderStatusDto orderStatusDto);
    List<Orders> queryOrdersByUserId(String userId);
}
